label: max-width-chars should be ignored sometimes
authorBenjamin Otte <otte@redhat.com>
Sat, 6 Nov 2021 15:25:11 +0000 (16:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 9 Nov 2021 02:41:43 +0000 (03:41 +0100)
commit81169d18c3d2f22263ea04361ac6944eef892855
tree02a9fe2807689623d94f03bd0b4c6bb4a670b280
parentcce6a603a6aa054d2d5aaaf9b3b0671cb6a9970c
label: max-width-chars should be ignored sometimes

When a widget is neither wrappable nor ellipsizable, we cannot modify
the label to fit into any size. So we cannot respect max-width-chars.
gtk/gtklabel.c
testsuite/reftests/label-small-max-width-chars.ref.ui [new file with mode: 0644]
testsuite/reftests/label-small-max-width-chars.ui [new file with mode: 0644]
testsuite/reftests/meson.build